package com.yyy.spring6.auto.service;

import com.yyy.spring6.auto.dao.UserDao;

/**
 * @Project ：learn_spring
 * @File ：UserServiceImpl.java
 * @IDE ：IntelliJ IDEA
 * @Author ：自由如风间
 * @Date ：2025/3/30 17:30
 * @Description ：For study.
 */

public class UserServiceImpl implements UserService {

    private UserDao userDao;

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public void addUserService() {
        System.out.println("UserService的add方法实现了...");
        userDao.addUserDao();
    }
}
